import os
import re

txt_d = 'txt'

os.makedirs(txt_d, exist_ok=True)
os.chdir(txt_d)
for txt in os.listdir():
    print(txt)
    with open(txt, 'r', encoding='utf8', errors='ignore') as f:
        content = f.read()
        for part in re.split(r'(\d+[.、]+?\S+)', content):
            print('-' * 30)
            print(part)
